﻿<UserControl x:Class="SettingsWindowsHandler.Plugin.SettingsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"              
             mc:Ignorable="d">
    <Grid>
        <StackPanel Orientation="Vertical" Margin="4,0,0,0">
            <!--<Button Visibility="Collapsed" x:Name="btnBlur" Content="Blur" HorizontalAlignment="Right" VerticalAlignment="Top" Command="{x:Static y:Commands.WantBlurCommand}"/>-->
            <Grid Height="22">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock FontWeight="Bold" FontSize="11" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Left" Text="Thumbnails:"/>
                <TextBlock Grid.Column="2" FontSize="10" Text="Thumb Preload Threads:" VerticalAlignment="Center" />
                <!--<TextBox Grid.Column="3" VerticalAlignment="Center" FontSize="10" Text="{Binding Mode=TwoWay, Converter={StaticResource ViewModelValueConverter}, ConverterParameter=ThumbPreloadThreads}" />-->
                <TextBox Grid.Column="3" VerticalAlignment="Center" FontSize="10" Text="{Binding Mode=TwoWay, Path=ThumbPreloadThreads}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Image Info Below Thumbs:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ShowImageInfoBelowThumbs}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Show Thumb Debug:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ShowDebugOnThumbs}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="High Quality Thumbs:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=HighQualityThumbs}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Even Thumb Widths:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=EvenThumbWidths}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="ThumbShowFileName:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowFileName}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="ThumbShowFileSize:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowFileSize}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="ThumbShowFileDate:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowFileDate}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Sort By:" />
                <ComboBox x:Name="cboSort" Grid.Column="3" FontSize="10" ItemsSource="{Binding Mode=OneTime, Path=AllSortByOptions}" SelectedValue="{Binding Mode=TwoWay, Path=SortBy}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="SortDescending:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=SortDescending}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="ResizeJpegQuality:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ResizeJpegQuality}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Sort By 2:" />
                <ComboBox x:Name="cboSort2" Grid.Column="1" FontSize="10" ItemsSource="{Binding Mode=OneTime, Path=AllSortByOptions}" SelectedValue="{Binding Mode=TwoWay, Path=SortBy2}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Sort Descending 2:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=SortDescending2}" />                
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="ThumbShowFullPath:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowFullPath}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="ThumbShowDimensions:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowDimensions}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Full Viewer Details 1:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ShowFullViewerDetails1}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Full Viewer Details 2:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ShowFullViewerDetails2}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="ShowThumbCommandBar:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ShowThumbCommandBar}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Thumb Descriptions:" />
                <CheckBox Grid.Column="3" IsChecked="{Binding Mode=TwoWay, Path=ThumbShowFileDescriptions}" />
            </Grid>
            <Grid Height="22">
                <TextBlock FontWeight="Bold" FontSize="11" VerticalAlignment="Center" HorizontalAlignment="Left" Text="Image Quality:"/>
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="InternalRendering:" />
                <ComboBox Grid.Column="1" FontSize="10" Margin="0,0,2,0" ItemsSource="{Binding Mode=OneTime, Path=AllInternalRenderingMethods}" SelectedValue="{Binding Mode=TwoWay, Path=InternalRendering}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Interpolation:" />
                <ComboBox Grid.Column="3" FontSize="10" Margin="0,0,2,0" ItemsSource="{Binding Mode=OneTime, Path=AllInterpolations}" SelectedValue="{Binding Mode=TwoWay, Path=InterpolationMode}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Smoothing Mode:" />
                <ComboBox Grid.Column="1" FontSize="10" Margin="0,0,2,0" ItemsSource="{Binding AllSmoothingModes}" SelectedValue="{Binding Mode=TwoWay, Path=SmoothingMode}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Standard Pixel Format:" />
                <ComboBox Grid.Column="3" FontSize="10" Margin="0,0,2,0" ItemsSource="{Binding AllStandardColorPixelFormats}" SelectedValue="{Binding Mode=TwoWay, Path=StandardColorPixelFormat}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Resize Width:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=ResizeWidth}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Resize Height:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ResizeHeight}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Resized Image Filename:" />
                <TextBox Grid.Column="1" Grid.ColumnSpan="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ResizedFileName}" />
            </Grid>
            <Grid Height="22">
                <TextBlock FontWeight="Bold" FontSize="11" VerticalAlignment="Center" HorizontalAlignment="Left" Text="Similarity and Blur:"/>
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Similarity Scale Width:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=SimilarityScaleWidth}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Similarity Scale Height:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=SimilarityScaleHeight}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="SimilarityCacheMax:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=SimilarityCacheMax}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="SimilarityCacheToRemove:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=SimilarityCacheToRemove}" />
            </Grid>
            <Grid Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Blur Cutoff:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=BlurCutoff}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Similarity Cutoff:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=SimilarityCutoff}" />
            </Grid>
            <Grid  Height="18" Visibility="Collapsed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Min Scale Factor:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=ScaleFactor}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Min Scale Width:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MinScaleWidth}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Min Scale Height:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=MinScaleHeight}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Viewer is Topmost:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ViewerIsTopmost}" Content="TOP" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Thumbnail Width:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=ThumbWidth}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Thumbnail Height:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ThumbHeight}" />
            </Grid>
            <Grid Height="22">
                <TextBlock FontWeight="Bold" FontSize="11" VerticalAlignment="Center" HorizontalAlignment="Left" Text="Memory and Performance:"/>
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Max Thumbs in Memory:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxThumbsInMemory}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Max Thumbnail Controls:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxThumbnailControlsInMemory}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock FontSize="10" Text="Max Bitmaps In Memory:" Margin="0,1,0,-1" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxBitmapsInMemory}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Toss when Max Reached:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ItemsToTossWhenMaxReached}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Max TransformedBitmaps In Memory:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxTransformedBitmapsInMemory}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Toss when Max Reached:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=TransformedToTossWhenMaxReached}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Max Files In Memory:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxFileBytesInMemory}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Toss when Max Reached:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=FileBytesToTossWhenMaxReached}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Max ImageSources In Memory:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxImageSourcesInMemory}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Toss when Max Reached:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=ImageSourcesToTossWhenMaxReached}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Max Thumbnail Image Sources:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxThumbnailImageSources}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Unused Bytes Before Cleanup:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=UnusedBytesBeforeCleanup}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Max Concurrent Blur Calcs:" />
                <TextBox Grid.Column="3" FontSize="10" Text="{Binding Mode=TwoWay, Path=MaxConcurrentBlurCalcs}" />
            </Grid>
            <Grid  Height="22" Visibility="Collapsed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="140"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Use HSL Rounding:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=UseHSLRounding}" Content="HSL" />
            </Grid>
            <Grid IsEnabled="{Binding Mode=OneWay, Path=UseHSLRounding}" Visibility="Collapsed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="140"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Decimal Digits HSL Luminance Rounding:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=DecimalDigitsHSLLuminanceRounding}" />
            </Grid>
            <Grid IsEnabled="{Binding Mode=OneWay, Path=UseHSLRounding}" Visibility="Collapsed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="140"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Decimal Digits HSL Saturation Rounding:" />
                <TextBox Grid.Column="1" FontSize="10" Text="{Binding Mode=TwoWay, Path=DecimalDigitsHSLSaturationRounding}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Show Folder Explorer:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=FolderExplorerVisible}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Show Directory List:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=DirectoriesVisible}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Show Filter Explorer:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=FilterExplorerVisible}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Show Thumbnails:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ThumbnailsVisible}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="10" Text="Confirm Delete:" />
                <CheckBox Grid.Column="1" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ConfirmDelete}" />
                <TextBlock Grid.Column="2" FontSize="10" Text="Confirm Multi Delete:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=ConfirmMultiDelete}" />
            </Grid>
            <Grid  Height="18">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="110"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" Grid.ColumnSpan="3" FontSize="10" Text="Thumbnail View tracks location of Viewed Image in Full Image Viewer:" />
                <CheckBox Grid.Column="3" FontSize="10" IsChecked="{Binding Mode=TwoWay, Path=TrackLocationInThumbView}" />                                
            </Grid>
            <Grid Height="22">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="0.5*"/>
                </Grid.ColumnDefinitions>
                <Button HorizontalAlignment="Center" x:Name="btnSave" Content="Save Settings" Click="btnSave_Click" />
                <Button Grid.Column="1" HorizontalAlignment="Center" x:Name="btnSaveExit" Content="Save Settings/Exit" 
                        Click="btnSaveExit_Click" />
            </Grid>
        </StackPanel>
    </Grid>
</UserControl>
